<template>
  <div class="content">
    <div class="part">
      <trapezoid></trapezoid>
      <div class="container">
        <slot name="left"></slot>
      </div>
    </div>
    <div class="part">
      <trapezoid></trapezoid>
      <div class="container">
        <slot name="right"></slot>
      </div>
    </div>
  </div>
</template>

<script>
import Trapezoid from "@/components/Trapezoid.vue";
export default {
  name: "LeftRightStructure",
  components: { Trapezoid },
};
</script>

<style lang='less' scoped>
.content {
  display: flex;
  justify-content:space-between;
  min-height: 100%;
  width: 100%;
  // background-color: #f5f5f5;
  // padding:0 0px 10px 0px;
  box-sizing: border-box;
  // overflow: hidden;
  .part {
    width: calc(50% - 10px);
    min-height: calc(100% - 10px);
    padding: 5px;
    position: relative;
    // border: 1px solid #00e9ff;
    box-sizing: border-box;
    background-color: #fff;
    // border-radius: 10px;
    .container {
      margin-top: 40px;
      height: calc(100% - 40px);
    }
  }
}
</style>